<template>
</template>

<script>
export default {
	data(){
		return{
			
		}
	},
	onShow() {
		this.$api.kefuUrl({iccid:uni.getStorageSync('iccid') || ''}).then(res=>{
			let urls=res.data;
			console.log("当前客服链接为"+urls);
			//#ifdef H5
			window.location.href = urls
			//#endif
			//#ifdef APP-PLUS
				uni.navigateTo({
					url:"/pages/index/webview?url=" + urls
				})
			//#endif
		})	
	}
}
</script>

<style>
</style>